﻿#include "kdpch.h"
#include "Window.h"

#ifdef KD_PLATFORM_WINDOWS
    #include "Platform/Windows/WindowsWindow.h"
#endif

namespace KD {

    Scope<Window> Window::Create(const WindowProps& props)
    {
        #ifdef KD_PLATFORM_WINDOWS
                return CreateScope<WindowsWindow>(props);
        #else
            KD_CORE_ASSERT(false, "未知的平台！");
            return nullptr;
        #endif
    }

}